/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.swin.unilearn.submission;

import au.edu.swin.unilearn.assignment.Assignment;
import au.edu.swin.unilearn.students.Student;
import java.io.*;
import java.util.Date;

/**
 *
 * @author DidierLeung
 */
public class Submission implements Serializable
{
    private Integer submission_no;
    private Date submitted_date;
    private String submission_file_url;
    private Double results;
    private String detail_file_url;
    private String submission_status;
    private Assignment assignmentObj;
    private Student aStudent;

    public Submission(Integer submission_no, Date submitted_date, String submission_file_url,
            Double results, String detail_file_url, String submission_status,
            Assignment assignmentObj, Student aStudent)
    {
        this.submission_no = submission_no;
        this.submitted_date = submitted_date;
        this.submission_file_url = submission_file_url;
        this.results = results;
        this.detail_file_url = detail_file_url;
        this.submission_status = submission_status;
        this.assignmentObj = assignmentObj;
        this.aStudent = aStudent;
    }

    public Integer getSubmission_no()
    {
        return submission_no;
    }

    public void setSubmission_no(Integer submission_no)
    {
        this.submission_no = submission_no;
    }

    public Date getSubmitted_date()
    {
        return submitted_date;
    }

    public void setSubmitted_date(Date submitted_date)
    {
        this.submitted_date = submitted_date;
    }

    public String getSubmission_file_url()
    {
        return submission_file_url;
    }

    public void setSubmission_file_url(String submission_file_url)
    {
        this.submission_file_url = submission_file_url;
    }

    public double getResults()
    {
        return results;
    }

    public void setResults(double results)
    {
        this.results = results;
    }

    public String getDetail_file_url()
    {
        return detail_file_url;
    }

    public void setDetail_file_url(String detail_file_url)
    {
        this.detail_file_url = detail_file_url;
    }

    public String getSubmission_status()
    {
        return submission_status;
    }

    public void setSubmission_status(String submission_status)
    {
        this.submission_status = submission_status;
    }

    public Assignment getAssignmentObj()
    {
        return assignmentObj;
    }

    public void setAssignmentObj(Assignment assignmentObj)
    {
        this.assignmentObj = assignmentObj;
    }

    public Student getAStudent()
    {
        return aStudent;
    }

    public void setAStudent(Student aStudent)
    {
        this.aStudent = aStudent;
    }
}
